package com.emokili.ewa.app;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.web.servlet.ServletComponentScan;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.context.annotation.ComponentScan;

@SpringBootApplication
@EnableFeignClients(basePackages ="com.emokili.ewa.app.feign")
@ComponentScan(basePackages = {"com.emokili.ewa"})
@MapperScan(basePackages = {"com.emokili.ewa.core.frame.dao"})
public class EwaAppApplication {

    public static void main(String[] args) {
        SpringApplication.run(EwaAppApplication.class, args);
    }

}
